<script id="list-tpl" type="text/html"
        data-params='{"url":"/education/admin/statsRebate/order","pageid":"#page", "dataName":"statsRebateData"}'>
    <table id="example" class="layui-table lay-even" data-name="userData" data-tplid="list-tpl">
        <thead>
        <tr>
            <th width="30"><input type="checkbox" id="checkall" data-name="checkbox" lay-filter="check" lay-skin="primary"></th>
            <th>订单号</th>
            <th>下单人</th>
            <th>总价（元）</th>
            <th>返利金额（元）</th>
            <th>下单时间</th>
            <th>返利级别</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {{# layui.each(d.list, function(index, item){ }}
        <tr>
            <td><input type="checkbox" name="checkbox" value="{{ item.id}}" lay-skin="primary"></td>
            <td>{{ item.order_no}}</td>
            <td>{{ item.order_username||''}}</td>
            <td>{{ item.pay_amount||''}}</td>
            <td>{{ item.money||''}}</td>
            <td>{{ item.create_time}}</td>
            <td>{{ item.rank}}</td>
            <td>
                <button class="layui-btn layui-btn-mini" onclick="_edit('{{item.id}}','{{item.order_no}}');">明细</button>
            </td>
        </tr>
        {{# }); }}
        </tbody>

    </table>
</script>